package com.tac.dao.scm;

import com.tac.pojo.scm.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierDao {

    public List<Supplier> getList(@Param("supplierName") String supplierName, @Param("contactPerson") String contactPerson);

    public Integer update(Supplier supplier);

    public Integer remove(List<Integer> ids);

    public Integer save(Supplier supplier);

    public Supplier getById(Integer id);

    //管理员审核
    public Integer updateExamine(Supplier supplier);
}
